package com.smxy.daydayup.service.serviceImpl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.smxy.daydayup.mapper.CourseAssessMapper;
import com.smxy.daydayup.pojo.CourseAssess;
import com.smxy.daydayup.service.CourseAssessService;
/**
  * @team daydayup
  * @time 2021-12-06 21:45
  */
@Service
public class CourseAssessServiceImpl implements CourseAssessService{

    @Resource
    private CourseAssessMapper courseAssessMapper;

    @Override
    public int deleteByPrimaryKey(Long courseAssessId) {
        return courseAssessMapper.deleteByPrimaryKey(courseAssessId);
    }

    @Override
    public int insert(CourseAssess record) {
        return courseAssessMapper.insert(record);
    }

    @Override
    public int insertSelective(CourseAssess record) {
        return courseAssessMapper.insertSelective(record);
    }

    @Override
    public CourseAssess selectByPrimaryKey(Long courseAssessId) {
        return courseAssessMapper.selectByPrimaryKey(courseAssessId);
    }

    @Override
    public int updateByPrimaryKeySelective(CourseAssess record) {
        return courseAssessMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(CourseAssess record) {
        return courseAssessMapper.updateByPrimaryKey(record);
    }

}
